package com.chushouya.manager.dto.admin.finance;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@ApiModel("资金提现")
public class FinanceWithdrawRequest {
    @NotNull(message = "资金账户ID不能为空")
    @ApiModelProperty("资金账户ID")
    private Long accountId;

    @NotNull(message = "提现金额不能为空")
    @ApiModelProperty("提现金额")
    private BigDecimal amount;

    @ApiModelProperty("提现备注")
    private String remark;

    @ApiModelProperty("支付口令")
    @NotNull(message = "支付口令不能为空")
    private String paymentToken;

}
